class CreateSingers < ActiveRecord::Migration[6.1]
  def change
    create_table :singers do |t|
      t.string :name, null: false
      t.string :pinyin, null: false
      t.boolean :is_shown, null: false, default: false
      t.references :singer_tag, null: false, foreign_key: true
    
    end
  end
end
